<?php

$value_id = substr($value['tid'], -1); $quaterimglist = DB::fetch_all("SELECT * FROM ".DB::table('forum_attachment_'.$value_id.'')." WHERE tid = '$value[tid]' AND isimage = '1' ORDER BY `aid` ASC LIMIT 9");

    		  	  		  	  		     	  	 			    		   		     		       	   	 		    		   		     		       	   	 		    		   		     		       	   				    		   		     		       	   	 	    		   		     		       	 	        		   		     		       	 	        		   		     		       	  		 		    		   		     		       	  			      		   		     		       	 	   	    		   		     		       	   		 	    		   		     		       	   				    		   		     		       	  				     		   		     		       	 	  	     		   		     		       	  			      		   		     		       	  	 			    		   		     		       	  	 		     		   		     		       	  	   	    		   		     		       	  				     		   		     		       	 	   	    		   		     		       	  			      		   		     		       	  	   	    		   		     		       	   	 	    		   		     		       	   			    		   		     		       	  				    		   		     		       	   		     		   		     		       	  				    		   		     		       	 	        		 	      	  		  	  		     	
?>